//
//  dateView.h
//  dateView
//
//  Created by SC on 16/8/2.
//  Copyright © 2016年 SC. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol dateViewDelegate <NSObject>

-(void)dateViewSureClick:(NSString *)strDate;

-(void)dateViewDidBgViewEvent;

@end


@interface dateView : UIView

@property (nonatomic, weak) id<dateViewDelegate>delegate;

@property (nonatomic, strong) UIView *bgView;

@property (nonatomic, strong) UIView *bottomView;
@property (nonatomic, strong) UIDatePicker *datePicker;
@property (nonatomic, strong) UIButton *sureBt;
@property (nonatomic, strong) UIView *lineView;


/**
 *  获取保存的NSDate
 *
 *  @return NSDate
 */
-(NSDate *)getSaveDate;


@end
